package com.dz.finance.biz.mapper;

import com.dz.finance.biz.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: DengHaoQi
 * @date: 2024/7/3 15:59
 * @description:
 */

@Mapper
public interface SysMenuMapper {

    SysMenu selectSysMenu(SysMenu condition);

    /*
    * 新增菜单
    * */
    int insert(SysMenu sysMenu);


    /*
    * 查询菜单集合
    * */
    List<SysMenu> selectList();

    List<SysMenu> selectListByName(String name);
}
